package org.zfes.snowier.cloud.zbss.metting.biz.model;

import javax.validation.constraints.NotNull;

import org.zfes.snowier.common.dao.IBaseModel;
public class SignupModel extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public SignupModel() {}
	public SignupModel(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->
	public SignupModel(String name, Long metId) {
		super();
		this.name = name;
		this.metId = metId;
	}
 
	public SignupModel( @NotNull(message = "模型会议不能为空") Long metId, String formJson, String formScript) {
		super();
		this.metId = metId;
		this.formJson = formJson;
		this.formScript = formScript;
	}

	//@javax.validation.constraints.NotBlank(message="模型名称不能为空")
	//@org.hibernate.validator.constraints.Length(min=0,max=255,message="模型名称长度不能大于100")
	  private java.lang.String name;

	@javax.validation.constraints.NotNull(message="模型会议不能为空")
	private Long metId;
	
	private java.lang.String  formJson;
	private java.lang.String  formScript;
	private java.lang.String formScriptConvert;
	
	//<-------------------------------------------->
	public SignupModel setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}
	public java.lang.String getName(){
		return this.name;
	}
	public Long getMetId() {
		return metId;
	}
	public SignupModel setMetId(Long metId) {
		this.metId = metId;
		 return this;
	}
	public java.lang.String getFormJson() {
		return formJson;
	}
	public SignupModel setFormJson(java.lang.String formJson) {
		this.formJson = formJson;
		 return this;
	}
	public java.lang.String getFormScript() {
		return formScript;
	}
	public SignupModel setFormScript(java.lang.String formScript) {
		this.formScript = formScript;
		 return this;
	}
	public java.lang.String getFormScriptConvert() {
		return formScriptConvert;
	}
	public void setFormScriptConvert(java.lang.String formScriptConvert) {
		this.formScriptConvert = formScriptConvert;
	}

}
